package com.isdepci.project.gasEmission.mapper;

import java.util.List;
import com.isdepci.project.gasEmission.domain.EmployeeCommuting;
import org.apache.ibatis.annotations.Param;
/**
 * 员工通勤Mapper接口
 * 
 * @author isdepci
 * @date 2023-09-01
 */
public interface EmployeeCommutingMapper 
{
    /**
     * 查询员工通勤
     */
     EmployeeCommuting selectEmployeeCommutingById(Long id);

    /**
     * 查询员工通勤列表
     */
     List<EmployeeCommuting> selectEmployeeCommutingList(EmployeeCommuting employeeCommuting);

    /**
     * 新增员工通勤
     */
     int insertEmployeeCommuting(EmployeeCommuting employeeCommuting);

    /**
     * 修改员工通勤
     */
     int updateEmployeeCommuting(EmployeeCommuting employeeCommuting);

    /**
     * 删除员工通勤
     */
     int deleteEmployeeCommutingById(Long id);

    /**
     * 批量删除员工通勤
     */
     int deleteEmployeeCommutingByIds(Long[] ids);


    void insertList(@Param("list") List<EmployeeCommuting> list,@Param("pId")Long pId);



}
